vybrid: clock: Provide enable_i2c_clk() function for Vybrid
authorLukasz Majewski <[email protected]>
Wed, 13 Feb 2019 21:46:41 +0000 (22:46 +0100)
committerStefano Babic <[email protected]>
Sat, 13 Apr 2019 18:30:08 +0000 (20:30 +0200)
commit7db8b854d3f76d996c9adcd8a6a4ecd3ec30ebda
tree7fb069e8fa2f0e53e6677ed5adc9167e9e3ae901
parentda6b81a8d8d9a1cac6c2a2744f5afe0a25b6bb1e
vybrid: clock: Provide enable_i2c_clk() function for Vybrid

Provide function to enable I2C clocks for vf610 - in the generic code.
This function overrides the default weak function implementation (which
only returns 1).

Signed-off-by: Lukasz Majewski <[email protected]>
Tested-by: Marcel Ziswiler <[email protected]>
arch/arm/cpu/armv7/vf610/generic.c
arch/arm/include/asm/arch-vf610/clock.h